WPForms\Forms\Fields\PaymentSingle\Field B

Total Complexity 96
Dependencies 0
Dependents 0
Total lines 838
Lines of code 470
Logical lines of code 197
Comment lines 240
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
validate()
A
46 14 39
field_preview()
A
39 12 66
field_properties()
A
43 13 43
min_price_option()
A
42 8 58
field_display()
A
45 8 41
get_field_populated_single_property_value()
S
56 7 18
format()
S
52 5 22
preview_field_class()
S
60 4 14
field_minimum_price_description()
S
60 4 13
format_option()
S
48 2 37
field_options()
S
55 3 19
price_option()
S
50 2 33
price_label_option()
S
51 2 31
is_hidden()
S
77 2 3
is_single_item()
S
77 2 3
is_min_price_passed()
S
77 2 3
is_user_defined()
S
77 2 3
get_single_item_price_label()
S
66 2 9
hooks()
S
68 1 6
init()
S
65 1 9